package io.coderyeah.basic.jwt;

import io.coderyeah.system.domain.Menu;
import io.coderyeah.user.domain.LoginInfo;
import io.coderyeah.user.domain.User;
import lombok.Data;

import java.util.List;

@Data
public class LoginData {
    private LoginInfo loginInfo;    //管理员登录信息
    private User user;        //用户登录信息
    private List<String> permissions; //当前登录人拥有的权限：保存的是sn
    private List<Menu> menus;        //当前登录人拥有的菜单
}